<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<center>
<table border="1">
    <tr>
        <td>ID</td>
        <td>用户</td>
        <td>操作</td>
    </tr>
    {foreach:items=$res}
    <tr>
        <td>{$item['id']}</td>
        <td>{$item['name']}</td>
        <td><a href="{url:/text/del/id/$item['id']}">删除</a>|<a href="{url:/text/upd/id/$item['id']}">修改</a></td>
    </tr>
    {/foreach}
    <a href="{url:/text/medo}">跳回添加</a>
</table>
</center>
</body>
</html>